<div class="pageContent" selector="h1" layoutH="0">
    <div class="panel collapse" minH="100">
        <h1>找到可导入的权限节点:<span style="color: red;" >（<?PHP echo count($new_node_list);?>个）</span>。</h1>

        <div>
            <table class="list" width="100%">
                <thead>
                <tr>
                    <th>节点名</th>
                    <th>访问地址</th>
                    <th>描述</th>
                    <th><a style="color: red;" target="ajaxTodo" href="<?PHP echo __URL__.'/insert/all';?>">全部导入</a></th>
                </tr>
                </thead>
                <tbody>
                <?PHP foreach($new_node_list as $key=>$new_node){?>
                <tr>
                    <td><?PHP echo $new_node['title'];?></td>
                    <td><a href="<?PHP echo site_url($key);?>" target="navTab"><?PHP echo site_url($key);?></a></td>
                    <td><?PHP echo nl2br($new_node['remark']);?></td>
                    <td><a  class="btnAdd" target="ajaxTodo" href="<?PHP echo __URL__.'/insert?key='.urlencode($key);?>">导入</a></td>
                </tr>
                <?PHP }?>
                </tbody>
            </table>
        </div>
    </div>
    <div class="panel collapse" minH="100">
        <h1>找到已废弃的权限节点:<span style="color: red;">（<?PHP echo count($scrap_node_list);?>个）</span></h1>
        <div>
            <table class="list" width="100%">
                <thead>
                <tr>
                    <th>节点名</th>
                    <th>访问地址</th>
                    <th>描述</th>
                    <th><a style="color: red;" target="ajaxTodo" href="<?PHP echo __URL__.'/delete/all';?>">全部删除</a></th>
                </tr>
                </thead>
                <tbody>
                <?PHP foreach($scrap_node_list as $key=>$new_node){?>
                    <tr>
                        <td><?PHP echo $new_node['title'];?></td>
                        <td><a href="<?PHP echo site_url($key);?>" target="navTab"><?PHP echo site_url($key);?></a></td>
                        <td><?PHP echo nl2br($new_node['remark']);?></td>
                        <td><a class="btnDel" href="<?php echo __URL__.'/delete/'.$new_node['id']; ?>" target="ajaxTodo" title="删除">删除</a></td>
                    </tr>
                <?PHP }?>
                </tbody>
            </table>
        </div>
    </div>
</div>